﻿using Microsoft.SharePoint;
using SharePoint.Orm.TestHelpers;

namespace SharePoint.Orm.Metal {
    public class TestNameRewriter : DefaultNameRewriter {
        public override string ToFieldName(SPField field) {
            if (field.Title == SiteHelpers.List3Field1Name) {
                return base.ToTypeName("Field Name Change");
            }
            return base.ToFieldName(field);
        }
    }
}
